// src/store/dataMenus.js
const toolMenus = [
  {
    alwaysShow: true,
    component: "Layout",
    hidden: false,
    path: "/home",
    redirect: "/home/dashboard",
    meta:{title: "系统管理", titleEn: "System Management"},
    children: [
      {
        component: "index",
        path: "dashboard",
        name: "Dashboard",
        meta: {
          icon: "dashboard",
          linkTarget: "_self",
          noCache: false,
          title: "系统看板",
          titleEn: "Dashboard",
        },
      },
    ],
  },
  {
    alwaysShow: true,
    component: "Layout",
    hidden: false,
    name: "Devops",
    path: "/devops",
    redirect: "noRedirect",
    meta: {
      icon: "tool",
      linkTarget: "_self",
      noCache: false,
      title: "系统工具",
      titleEn: "System Tools",
    },
    children: [
      {
        component: "tool/build/index",
        hidden: true,
        meta: {
          icon: "build",
          linkTarget: "_self",
          noCache: false,
          title: "表单构建",
          titleEn: "Tool: Table Generate",
        },
        name: "Build",
        path: "build",
      },
      {
        component: "tool/gen/index",
        hidden: false,
        meta: {
          icon: "code",
          linkTarget: "_self",
          noCache: false,
          title: "代码生成",
          titleEn: "Tool: Code Generate",
        },
        name: "Gen",
        path: "gen",
      },
      {
        component: "tool/swagger/index",
        hidden: true,
        meta: {
          icon: "swagger",
          linkTarget: "_self",
          noCache: false,
          title: "系统接口",
          titleEn: "System API Docs",
        },
        name: "Swagger",
        path: "swagger",
      },
      {
        component: "tool/data_acquisition/index",
        hidden: false,
        meta: {
          icon: "#",
          linkTarget: "_self",
          noCache: false,
          title: "数据采集",
          titleEn: "Data Acquisition",
        },
        name: "Acquisition",
        path: "data_acquisition",
      },
    ],
  },
];
export default toolMenus;
